package com.bsxwl.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "t_user")
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String userAccount;
    private String userPassword;
    private String userRole;
    private String userName;
    private Integer userStatus;
    private Integer lossCount;
    private Date lockTime;
}
